package com.yyyyglxt.yygl.recordManage.service.impl;

import com.yyyyglxt.yygl.recordManage.dao.RecordDao;
import com.yyyyglxt.yygl.recordManage.domain.RecordDO;
import com.yyyyglxt.yygl.recordManage.service.RecordService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;



@Service
public class RecordServiceImpl implements RecordService {
	@Autowired
	private RecordDao recordDao;
	
	@Override
	public RecordDO get(Integer rid){
		return recordDao.get(rid);
	}
	
	@Override
	public List<RecordDO> list(Map<String, Object> map){
		return recordDao.list(map);
	}
	
	@Override
	public int count(Map<String, Object> map){
		return recordDao.count(map);
	}
	
	@Override
	public int save(RecordDO record){
		return recordDao.save(record);
	}
	
	@Override
	public int update(RecordDO record){
		return recordDao.update(record);
	}
	
	@Override
	public int remove(Integer rid){
		return recordDao.remove(rid);
	}
	
	@Override
	public int batchRemove(Integer[] rids){
		return recordDao.batchRemove(rids);
	}
	
}
